<?php
namespace app\index\controller;



use app\api\controller\Base;
use app\api\face\BaseToken;
use app\lib\exception\SuccessReturn;


class Index extends Base
{
    // protected $beforeActionList=[
    //   'userApprove'=>['only'=>'index']
    // ];
    public function index()
    {
        return  json(new SuccessReturn(['message'=>'用户注册成功']),300);
    }
/*    public function before(){
        echo "i am before";
    }*/

}
